package com.yetong.domain.strategy.service;

import com.yetong.domain.strategy.model.valobj.StrategyAwardStockKeyVO;

/**
 * 作者：叶童
 * 时间：2025/5/8
 * 抽奖库存相关服务，获取库存消耗队列
 */
public interface IRaffleStock {

    //获取库存消耗队列
    StrategyAwardStockKeyVO takeQueueValue() throws InterruptedException;

    //更新奖品库存消耗记录
    void updateStrategyAwardStock(Long strategyId,Integer awardId);
}
